From bd2daa7f1b750e8dc60a548a91c769c583508267 Mon Sep 17 00:00:00 2001 From: justbur Date: Thu, 9 Jul 2015 07:55:48 -0400 Subject: [PATCH] Make user setup functions interactive and autoload --- which-key.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/which-key.el b/which-key.el index 6d08ad384f3..35147934208 100644 --- a/which-key.el +++ b/which-key.el @@ -160,21 +160,27 @@ Used when `which-key-popup-type' is frame.") (setq-local mode-line-format "")) (setq which-key--setup-p t)) +;;;###autoload (defun which-key/setup-side-window-right () "Apply suggested settings for side-window that opens on right." + (interactive) (setq which-key-popup-type 'side-window which-key-side-window-location 'right which-key-show-prefix 'top)) +;;;###autoload (defun which-key/setup-side-window-bottom () "Apply suggested settings for side-window that opens on bottom." + (interactive) (setq which-key-popup-type 'side-window which-key-side-window-location 'bottom which-key-show-prefix nil)) +;;;###autoload (defun which-key/setup-minibuffer () "Apply suggested settings for minibuffer." + (interactive) (setq which-key-popup-type 'minibuffer which-key-show-prefix 'left)) -- 2.30.2